// Assets/Scripts/guide/GuideStep.ts
import { GuideEvent } from "./GuideEvents";

// 联合类型：确保 click 和 wait 步骤互斥
export type GuideStep =
  | {
      type: "click";
      id: string;
      groupId: string;
      tipText: string;
      targetNodePath: string;
    }
  | {
      type: "wait";
      id: string;
      groupId: string;
      tipText: string;
      waitForEvent: string; // 或 GuideEvent
    };
